package ru.hh.team02.chat.database;

import ru.hh.team02.chat.messaging.MessageDbEntry;

import java.util.Collections;
import java.util.List;

public class DbStub implements DatabaseServiceInterface {
    @Override
    public boolean clientExists(String name) {
        return false;
    }

    @Override
    public String getPasswordByClientName(String name) {
        return null;
    }

    @Override
    public int putNewPersonalMessageIntoDatabase(String message, String recepientName) {
        return 0;
    }

    @Override
    public boolean markPersonalMessageAsDelivered(int id) {
        return false;
    }

    @Override
    public List<MessageDbEntry> getAllUndeliveredMessagesToTheClient(String clientName) {
        return Collections.emptyList();
    }
}
